From: David Härdeman Date: Sun, 5 Oct 2025 06:36:17 +0000 (+0200) Subject: luci-mod-network: simplify multi-MAC help text X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=46daebe715969523bd420050c6af938c29e22889;p=project%2Fluci.git luci-mod-network: simplify multi-MAC help text Simplify the help text a bit, make it more consistent, capitalize "MAC", remove references to dnsmasq. Signed-off-by: David Härdeman --- diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index af23fa2433..5d97ff1838 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -751,9 +751,10 @@ return view.extend({ }; so = ss.option(form.DynamicList, 'mac', - _('MAC address(es)'), - _('The hardware address(es) of this entry/host.') + '

' + - _('In DHCPv4, it is possible to include more than one mac address. This allows an IP address to be associated with multiple macaddrs, and dnsmasq abandons a DHCP lease to one of the macaddrs when another asks for a lease. It only works reliably if only one of the macaddrs is active at any time.')); + _('MAC Addresses'), + _('The hardware address(es) of this host.') + '

' + + _('The same IPv4 address will be (re)assigned to any host using one of the MAC addresses listed above.') + '
' + + _('Only one of the MAC addresses is expected to be in active use on the network at any given time.')); so.rmempty = true; so.cfgvalue = function(section) { var macs = uci.get('dhcp', section, 'mac');